package com.ys.peony.model.domain;

import java.util.List;

/**
 * Created by 59153 on 2017/8/2.
 */

public class CityModel {

    private Object exceptionCode;
    private String state;
    private String message;
    private List<DataBean> data;

    public Object getExceptionCode() {
        return exceptionCode;
    }

    public void setExceptionCode(Object exceptionCode) {
        this.exceptionCode = exceptionCode;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * prov_id : 1
         * prov_name : 北京
         * cityInfos : [{"city_id":1,"city_name":"北京","admin_code":null,"initial":null,"prov_id":1,"prov_name":null}]
         */

        private int prov_id;
        private String prov_name;
        private List<CityInfosBean> cityInfos;

        public int getProv_id() {
            return prov_id;
        }

        public void setProv_id(int prov_id) {
            this.prov_id = prov_id;
        }

        public String getProv_name() {
            return prov_name;
        }

        public void setProv_name(String prov_name) {
            this.prov_name = prov_name;
        }

        public List<CityInfosBean> getCityInfos() {
            return cityInfos;
        }

        public void setCityInfos(List<CityInfosBean> cityInfos) {
            this.cityInfos = cityInfos;
        }

        public static class CityInfosBean {
            /**
             * city_id : 1
             * city_name : 北京
             * admin_code : null
             * initial : null
             * prov_id : 1
             * prov_name : null
             */

            private int city_id;
            private String city_name;
            private Object admin_code;
            private Object initial;
            private int prov_id;
            private Object prov_name;

            public int getCity_id() {
                return city_id;
            }

            public void setCity_id(int city_id) {
                this.city_id = city_id;
            }

            public String getCity_name() {
                return city_name;
            }

            public void setCity_name(String city_name) {
                this.city_name = city_name;
            }

            public Object getAdmin_code() {
                return admin_code;
            }

            public void setAdmin_code(Object admin_code) {
                this.admin_code = admin_code;
            }

            public Object getInitial() {
                return initial;
            }

            public void setInitial(Object initial) {
                this.initial = initial;
            }

            public int getProv_id() {
                return prov_id;
            }

            public void setProv_id(int prov_id) {
                this.prov_id = prov_id;
            }

            public Object getProv_name() {
                return prov_name;
            }

            public void setProv_name(Object prov_name) {
                this.prov_name = prov_name;
            }
        }
    }
}
